#ifndef DOUBLE_LINK_LIST_H
#define DOUBLE_LINK_LIST_H

#include "header.h"
typedef int ElemType;
typedef struct DoubleLinkListNode{
    ElemType data;
    struct DoubleLinkListNode * prior;
    struct DoubleLinkListNode * next;
}*DoubleLinkList,DoubleLinkListNode;

DoubleLinkList DoubleLinkListCreate(void);
void DoubleLinkListGenerateNode(DoubleLinkList list);
void DoubleLinkListTraverseNode(DoubleLinkList list);
void DoubleLinkListDeleteNode(DoubleLinkList list,int pos);
DoubleLinkList DoubleLinkListGetNode(DoubleLinkList list,int pos);
int DoubleLinkListGetLength(DoubleLinkList list);

#endif
